import http from '@/utils/http'
/**
 * 获取歌曲详情
 * @param {String|Number} ids 单个id或者多个id
 * @returns
 */
export const getSongByIdAPI = (ids) => {
  return http('/song/detail', 'get', {
    ids
  })
}

/**
 * 获取歌词
 * @param {*} id 歌曲id
 * @returns
 */
export const getLyricByIdAPI = (id) => {
  return http('/lyric', 'get', {
    id
  })
}
